new Promise((resolve, reject) => {
    // resolve();
    reject("error message");
}).then(() => {
    console.log("process");
}).catch((err) => {
    console.log(err);
})